Theme Menu Type Constants
You can pass constants of type
ThemeMenuType
in the
inMenuType
parameter of
GetThemeMenuBackgroundRegion
and
DrawThemeMenuBackground
to specify a type of menu.
enum {
kThemeMenuTypePullDown = 0,
kThemeMenuTypePopUp = 1,
kThemeMenuTypeHierarchical = 2,
kThemeMenuTypeInactive = 0x0100
};
typedef UInt16 ThemeMenuType;
Constant descriptions
-
kThemeMenuTypePullDown
-
A pull-down menu. Available with Appearance Manager 1.0.1 and later.
-
kThemeMenuTypePopUp
-
A pop-up menu. Available with Appearance Manager 1.0.1 and later.
-
kThemeMenuTypeHierarchical
-
A hierarchical menu. Available with Appearance Manager 1.0.1 and later.
-
kThemeMenuTypeInactive
-
An inactive menu. Add this value to any other menu type if the entire menu is inactive. Available with Appearance Manager 1.1 and later.
© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)